package cn.uai.activiti8.entity;

import com.mybatisflex.annotation.Table;

/**
 * @desc 审批动作历史记录表
 * @author uai
 * @version 1.0
 * @since 2025年05月29日 19:43
 */
@Table(value = "approval_action_history", camelToUnderline = false)
public class ActionHistory extends Entity {

    /**
     * 用户唯一ID
     */
    private Long uid;

    /**
     * 流程实例ID
     */
    private String processInstanceId;

    /**
     * 审批动作类型
     * 1:同意, 2:拒绝, 3:驳回
     */
    private Integer actionType;

    /**
     * 备注
     */
    private String note;

    // Getter and Setter 方法

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public Integer getActionType() {
        return actionType;
    }

    public void setActionType(Integer actionType) {
        this.actionType = actionType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
